import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { RestProvider } from './rest';

@Injectable()
export class LoginService extends RestProvider {
	constructor(http: HttpClient) {
		super(http);
	}

	test(handle: Function) {
		super.getUrlReturn('GET', 'http://59.172.63.134:8880/jht//common/config/findWebConfig').subscribe(data => {
			handle(data);
		});
	}
}
